package com.sosee.cgfw.friends;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;

import com.sosee.cgfw.R;
import com.umeng.analytics.MobclickAgent;

/**
 * Created by Thinkpad on 2016/3/6.
 */
public class FriendsScann extends Activity implements View.OnClickListener {

    private ImageButton friends_back11;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_friendscann);

        init();
    }

    private void init() {
        friends_back11= (ImageButton)findViewById(R.id.friends_back11);

        friends_back11.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {

            switch (v.getId()){
                case R.id.friends_back11:
                    finish();
                    break;
                case R.id.friends_siaomiao:
                    startActivity(new Intent(this, FriendsScan.class));
                    break;
                case R.id.friends_friendslists:
                    startActivity(new Intent(this, FriendsLists.class));
                    break;
                default :

                    break;
            }

    }


    @Override
    protected void onResume() {
        super.onResume();
        MobclickAgent.onResume(this);
    }

    @Override
    protected void onPause() {
        super.onPause();
        MobclickAgent.onPause(this);
    }
}
